package Lab12;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Ex12_5 {
    public static void main(String[] args) throws IOException {
        String fileName = "src/Lab12/Exercise12_5.dat";
        FileOutputStream fileOutputStream = new FileOutputStream(fileName);
        for (int i = 0; i < 100; i++) {
            fileOutputStream.write((int) (Math.random() * 100));
        }
        fileOutputStream.close();
    }
}
